Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NextLinkOperationImplementation to support LRO rehydration #2843

Closed

Conversation

fengzhou-msft
Copy link
Member

@fengzhou-msft fengzhou-msft commented Nov 8, 2022

Fix #2158

Description

This PR is to support the prototype in Azure/azure-sdk-for-net#32364

Checklist

To ensure a quick review and merge, please ensure:

  • The PR has a understandable title and description explaining the why and what.
  • The PR is opened in draft if not ready for review yet.
    • If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review
  • The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

  • Build is completely green
    • Submissions with test failures require tracking issue and approval of a CODEOWNER
  • At least one +1 review by a CODEOWNER
  • All -1 reviews are confirmed resolved by the reviewer
    • Override/Marking reviews stale must be discussed with CODEOWNERS first

@fengzhou-msft fengzhou-msft changed the title [WIP] Update NextLinkOperationImplementation to support LRO rehydration Update NextLinkOperationImplementation to support LRO rehydration Nov 18, 2022
@fengzhou-msft fengzhou-msft marked this pull request as draft December 1, 2022 03:20
Comment on lines +22 to +23
# TODO: temporary change to target at support_lro_rehydration branch
$baseUrl = 'https://raw.githubusercontent.com/Azure/azure-sdk-for-net/support_lro_rehydration/sdk/core/Azure.Core/src/Shared/'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert before merge.

string id,
string? apiVersionOverride = null)
{
var lroDetails = BinaryData.FromBytes(Convert.FromBase64String(id)).ToObjectFromJson<Dictionary<string, string>>();
Copy link
Member Author

@fengzhou-msft fengzhou-msft Mar 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a more efficient way to encode and decode the id?

@live1206
Copy link
Member

live1206 commented Apr 23, 2023

Follow up in #3301

@live1206 live1206 closed this Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement rehydration for LROs
2 participants